﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPSystem.Common.Domains.UserCommon
{
    /// <summary>
    /// 角色权限表
    /// </summary>
    [SugarTable("EmployeeRole")]
    public class EmployeeRole
    {
        /// <summary>
        /// 主键编号
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int Id { get; set; }
        /// <summary>
        /// 员工id
        /// </summary>
        public int EmployeeId { get; set; }
        /// <summary>
        /// 角色id
        /// </summary>
        public int RolesId { get; set; }
    }
}
